﻿using Transformable_Engine_v2.Engine.Input;

namespace AngryManagementMayhem.Controller.Player.Input
{
    public class InputManager
    {
        public int GamepadId { get; set; }

        public KeyboardInput.Key Up { get; private set; }
        public KeyboardInput.Key Down { get; private set; }
        public KeyboardInput.Key Left { get; private set; }
        public KeyboardInput.Key Right { get; private set; }

        public KeyboardInput.Key South { get; private set; }
        public KeyboardInput.Key North { get; private set; }
        public KeyboardInput.Key East { get; private set; }
        public KeyboardInput.Key West { get; private set; }

        public KeyboardInput.Key R1 { get; private set; }
        public KeyboardInput.Key R2 { get; private set; }
        public KeyboardInput.Key L1 { get; private set; }
        public KeyboardInput.Key L2 { get; private set; }

        public InputManager(KeyboardInput.Key up, KeyboardInput.Key down, KeyboardInput.Key left, KeyboardInput.Key right, 
                            KeyboardInput.Key south, KeyboardInput.Key north, KeyboardInput.Key east, KeyboardInput.Key west, KeyboardInput.Key r1, 
                            KeyboardInput.Key r2, KeyboardInput.Key l1, KeyboardInput.Key l2)
        {
            Up = up;
            Down = down;
            Left = left;
            Right = right;
            South = south;
            North = north;
            East = east;
            West = west;
            R1 = r1;
            R2 = r2;
            L1 = l1;
            L2 = l2;
            GamepadId = -1;
        }
    }
}